package br.com.news.utils.business.interfaces;

import java.util.List;

import br.com.news.utils.business.exception.BusinessException;
import br.com.news.utils.database.beans.CategoriaBean;

public interface ICategoriaBusiness {
	
	public List<CategoriaBean> findAll() throws BusinessException;
	
	public List<CategoriaBean> findCategoriaAtiva() throws BusinessException;

	List<CategoriaBean> categoriasMaisAcessadas() throws BusinessException;

	List<CategoriaBean> findByExample(CategoriaBean categoria);

	List<CategoriaBean> findCategoriaByStatus(boolean status) throws BusinessException;

	void update(CategoriaBean categoria) throws BusinessException;

	void save(CategoriaBean categoria) throws BusinessException;


}
